{"ast":null,"code":"import React from'react';import{Users}from\"../index\";import{InputBase}from\"@mui/material\";import\"./FindUsers.scss\";import{jsx as _jsx}from\"react/jsx-runtime\";import{jsxs as _jsxs}from\"react/jsx-runtime\";var FindUsers=function FindUsers(_ref){var users=_ref.users,onSearch=_ref.onSearch,inputValue=_ref.inputValue;return/*#__PURE__*/_jsxs(\"div\",{className:\"users\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"users-item-search\",children:/*#__PURE__*/_jsx(\"div\",{className:\"users-item-search-form\",children:/*#__PURE__*/_jsx(InputBase,{className:\"users-item-search-form-input\",placeholder:\"\\u041F\\u043E\\u0438\\u0441\\u043A \\u043F\\u043E\\u043B\\u044C\\u0437\\u043E\\u0432\\u0430\\u0442\\u0435\\u043B\\u044F\",inputProps:{'aria-label':'Поиск поьзователя по email или nickname'},onChange:function onChange(e){return onSearch&&onSearch(e.target.value);},value:inputValue})})}),/*#__PURE__*/_jsx(Users,{users:users})]});};export default FindUsers;","map":{"version":3,"names":["React","Users","InputBase","FindUsers","users","onSearch","inputValue","e","target","value"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/src/components/FindUsers/index.tsx"],"sourcesContent":["import React from 'react';\nimport {Users} from \"../index\";\nimport {InputBase} from \"@mui/material\";\nimport {FindUsersProps} from \"../../models/props/FindUsersProps\";\nimport \"./FindUsers.scss\";\n\nconst FindUsers: React.FC<FindUsersProps> = ({users, onSearch, inputValue}) => {\n    return (\n        <div className=\"users\">\n            <div className=\"users-item-search\">\n                <div className=\"users-item-search-form\">\n                    <InputBase\n                        className=\"users-item-search-form-input\"\n                        placeholder=\"Поиск пользователя\"\n                        inputProps={{ 'aria-label': 'Поиск поьзователя по email или nickname' }}\n                        onChange={e => (onSearch && onSearch(e.target.value))}\n                        value={inputValue}\n                    />\n                </div>\n            </div>\n            <Users users={users} />\n        </div>\n    );\n}\n\nexport default FindUsers;"],"mappings":"AAAA,MAAOA,MAAK,KAAM,OAAO,CACzB,OAAQC,KAAK,KAAO,UAAU,CAC9B,OAAQC,SAAS,KAAO,eAAe,CAEvC,MAAO,kBAAkB,CAAC,wFAE1B,GAAMC,UAAmC,CAAG,QAAtCA,UAAmC,MAAsC,IAAjCC,MAAK,MAALA,KAAK,CAAEC,QAAQ,MAARA,QAAQ,CAAEC,UAAU,MAAVA,UAAU,CACrE,mBACI,aAAK,SAAS,CAAC,OAAO,wBAClB,YAAK,SAAS,CAAC,mBAAmB,uBAC9B,YAAK,SAAS,CAAC,wBAAwB,uBACnC,KAAC,SAAS,EACN,SAAS,CAAC,8BAA8B,CACxC,WAAW,CAAC,yGAAoB,CAChC,UAAU,CAAE,CAAE,YAAY,CAAE,yCAA0C,CAAE,CACxE,QAAQ,CAAE,kBAAAC,CAAC,QAAKF,SAAQ,EAAIA,QAAQ,CAACE,CAAC,CAACC,MAAM,CAACC,KAAK,CAAC,EAAE,CACtD,KAAK,CAAEH,UAAW,EACpB,EACA,EACJ,cACN,KAAC,KAAK,EAAC,KAAK,CAAEF,KAAM,EAAG,GACrB,CAEd,CAAC,CAED,cAAeD,UAAS"},"metadata":{},"sourceType":"module"}